package cn.edu.sdjzu.xg.eagle.dao;

import cn.edu.sdjzu.xg.eagle.entity.Department;

import java.sql.Connection;
import java.sql.SQLException;

public interface DepartmentDaoInterface {
    Department find(Long id)throws SQLException;

    void add(Department department)throws SQLException;

    boolean update(Connection connection, Department department)throws SQLException;

    boolean delete(Integer id)throws SQLException;
}
